#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
void text(int* nums, int numeSize, int k)
{
	int i = 0; 
	while (k--)
	{
		int end = nums[numeSize - 1];
		for (i = numeSize - 1; i >0; i--)
		{
			nums[i] = nums[i - 1];


		}	
		nums[0] = end;

	}

}
void Print(int arr[], int sz)
{
	int i = 0; 
	for (i = 0; i < sz; i++)
	{
		printf("%d ", arr[i]);

	}

}
int main1()
{
	int arr[10] = { 1,2,3,4,5,6,7,8,9,10 };
	int sz = sizeof(arr) / sizeof(arr[0]);
	text(arr,sz,3);
	Print(arr, sz);

	return  0;
}
#include <time.h>
int main()
{
	int start = clock();
	int count = 0; 
	for (int i = 0; i < 100000000; i++)
	{
		count++;
	}
	int end = clock();
	printf("time :%d",  end-start);

	return 0; 
}